package com.hnucm.springboot.springboot.dao;

import com.hnucm.springboot.springboot.model.Person;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
//实现不是Java类中 写到配置中
@Mapper
public interface PersonMapper {
    public List<Person> getAllPerson();
    public int addPerson(Person person);
    public int deletePerson(int id);
    public int updatePerson(Person person);
}
